package com.jinsi.mapper;

import com.jinsi.pojo.ScStudentDefer;
import com.jinsi.pojo.ScStudentOperationLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StuDeferMapper {
    //添加学生缓交信息
    public int addDefer(ScStudentDefer defer);
    //获取学生缓交信息
    public List<ScStudentDefer> getDefers();
    //根据到期日期查询信息
    public List<ScStudentDefer> getDeferByEndTime(Integer num);
    //删除学生缓交信息
    public int delDefer(Integer id);
    //根据用户输入信息进行筛选查询
    public List<ScStudentDefer> getDeferByLikeIdAndName(@Param("studentId") Integer studentId,
                                                              @Param("studentName") String studentName
    );
}
